<?php
// +----------------------------------------------------------------------
// | Description: ordersItems
// +----------------------------------------------------------------------
// | Author: orchief
// +----------------------------------------------------------------------
// | Date: 2018-03-15 10:48:48
// +----------------------------------------------------------------------

namespace app\client\validate;

use think\Validate;

/**
 *
 */
class ShopOrdersItems extends Validate
{
    protected $rule = array(
        'OrderId' => 'require',
        'SkuId' => 'require',
        'ProductId' => 'require',
        'SalePrice' => 'require',
        'ProductName' => 'require',
        'ProductCode' => 'require',
        'Weight' => 'require',
        'ImgPath' => 'require',
        'SKUContent' => 'require',
    );
    protected $message = array(
        'OrderId.require' => '请输入',
        'SkuId.require' => '请输入规格id',
        'ProductId.require' => '请输入商品id',
        'SalePrice.require' => '请输入商品售价',
        'ProductName.require' => '请输入商品名称',
        'ProductCode.require' => '请输入商品货号',
        'Weight.require' => '请输入商品重量',
        'ImgPath.require' => '请输入订单商品图标',
        'SKUContent.require' => '请输入商品规格 (json格式)',
    );
    protected $scene = [

    ];
}
